x_aerial_init = [
	[ch1,301,true],[ch2,302,true],[ch3,303,true],[ch4,304,true],[ch5,305,false],[ch6,306,false],
	[ch7,307,false],[ch8,308,false],[ch9,309,true],[ch10,310,true],
	[ap1,401,false,300],[ap2,402,false,300],[ap3,403,false,300]
];

// The following will protect the C-130J until it starts moving.
If (X_Server && !isnil "ap3") then {
	[] spawn {
			if (!isnil("ap3")) then {
				ap3 allowdamage false;
				waituntil {(speed ap3) > 30};
				ap3 allowdamage true;
			};
		};
};

x_vehicle_init = [
	[xvec1,0,False],[xvec2,1,False],[xmedvec,10,False],
	[xvec3,20,True],[xvec4,21,True],[xvec5,22,True], [xvec6,30,True],[xvec7,40,True], [xvec8,41,True],
	[xarm1,42,False], [xarm2,43,False], [xarm3,44,False], [xarm4,45,False],
	[xcar1,46,False], [xcar2,47,False], [xcar3,48,False], [xcar4,49,False], [xcar5,50,False], [xcar6,51,False],
	[xmot1,52,False], [xmot2,53,False], [xmot3,54,False], [xmot4,55,False],
	[xstat1,56,False], [xstat2,57,False], [xstat3,58,False], [xstat4,59,False]
];

